package com.example.service;

import com.example.entity.Elevator;
import com.example.ext.entity.ExtElevator;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by youkun on 2017/10/5.
 */
public interface ElevatorService {

    public Map<String,Object> queryList(ExtElevator elevator);

    public Map<String,Object> queryMaintList(Map<String, Object> elevator);

    public Map<String,Object> queryJgList(Map<String, Object> elevator);

    public Map<String,Object> add(Elevator elevator);

    public Map<String,Object> update(Elevator elevator);

    public Map<String,Object> delete(List<String> ids);

    public Map<String,Object> queryById(String id);

    public Map<String, Object> updatehmMaintDate(Map<String,Object> inMap);

    public Map<String, Object> updateqMaintDate(Map<String,Object> inMap);

    public Map<String, Object> updatehyMaintDate(Map<String,Object> inMap);

    public Map<String, Object> updateyMaintDate(Map<String,Object> inMap);

    public Map<String,Object> importElevator(MultipartFile file,String partyId);

    public Map<String, Object> updateLatLng(Map<String,Object> inMap);

    public Map<String, Object> getLatLng(Map<String,Object> inMap);

    public Map<String, Object> updateElevatorPlace(Map<String,Object> inMap);

    public Map<String,Object> updateSafeUser(Map<String,Object> inMap);

    public Map<String,Object> getElevatorInfoByNum(Map<String, Object> param);

    //双随机一公开查询电梯信息
    Map<String, Object> getElevatorList(Map<String, Object> param);

    /**
     * 按需维保查询电梯信息
     * @param elevator
     * @return
     */
    Map<String, Object> demandMaintGetElevators(ExtElevator elevator);

    Map<String, Object> queryCreateCompanys(ExtElevator elevator);

}
